package com.Cychat.commons.entity.pojo;


import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

@Data
@TableName("role_permission")
public class RolePermission {
    @Schema(description="ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Schema(description="角色ID")
    private Integer roleId;
    @Schema(description="权限ID")
    private Integer permissionId;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}